package com.ruoyi.project.product.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 产品对象 ins_project
 * 
 * @author taney
 * @date 2020-11-18
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("ins_project")
public class InsProject implements Serializable {

private static final long serialVersionUID=1L;


    /** 产品ID */
    @TableId(value = "project_id", type = IdType.AUTO)
    private Long projectId;

    /** 品名 */
    @Excel(name = "品名")
    private String name;

    /** 中文名称 */
    @Excel(name = "中文名称")
    private String nameDesc;

    /** 英文缩写 */
    @Excel(name = "英文缩写")
    private String shortName;
    /** 货号简称 */
    @Excel(name = "货号简称")
    private String itemShortName;

    /** 效期 */
    @Excel(name = "效期")
    private String effectivePeriod;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 创建时间 */
    @Excel(name = "创建时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    /** 删除标记 */
    private String delFlag;

    /** 方法学 */
    @Excel(name = "方法学")
    private String testMethod;
    /** 注册证号 */
    @Excel(name = "注册证号")
    private String registrationNo;
    /** 生产许可证号 */
    @Excel(name = "生产许可证号")
    private String productionLicenseNo;
    /**
     * 批号M标识
     */
    @Excel(name = "批号M标识")

    private Boolean mFlag;
    /**
     * 标签CE标识
     */
    @Excel(name = "标签CE标识")

    private Boolean ceFlag;

    @Excel(name = "最新生成批号")
    private String lastLotNo;
    /**
     * 产品代码
     */
    @Excel(name = "产品代码")
    private Integer codeNo;
}
